getContentHeight(double,boolean) Method
In This Topic
Gets the height of the content for the given width and forces width recalculation.
When this method is called for the first time, the content height is calculated. Subsequent calls with the same 'width' parameter return the already computed height. If 'recalculate' is true, then the content height is computed even if 'width' has not changed from previous call.
Syntax
public double getContentHeight(
double ,
boolean
)
|
Parameters
- width
- The width for which the content height is computed.
- recalculate
- If true the content height is recalculated.
Return Value
The height of the content for the specified width.
See Also